<html>
	<head>
		<title>Movie Manager 2005 By Ben Rowe</title>
		<link rel="stylesheet" type="text/css" href="templates/{$config.smarty_template}/styles/{$config.smarty_template_css}">
		<script type="text/javascript" language="javascript" src="templates/{$config.smarty_template}/jscript/common.js"></script>
		<script type="text/javascript" language="javascript" src="templates/{$config.smarty_template}/jscript/list.js"></script>
		<script type="text/javascript" language="javascript">

			var template = '{$config.smarty_template}';

		</script>
	</head>
	<body topmargin="0" leftmargin="0" onLoad="this.focus();">
		<noscript>Javascript must be enabled.</noscript>
		<form method="post" action="index.php" id="frm_list" target="_parent">
		<input type="hidden" name="what" value="mymovies" />
		<input type="hidden" name="do" value="add" />
		<div class="list_body">
		<table cellspacing="0" width="100%" cellpadding="5">
			<tr>
				<th colspan="2">Custom Movie Selection List</th>
			</tr>
			{if $content.movies}
				{foreach from=$content.movies item=m}
					<input type="hidden" name="id[]" value="{$m.id}" />
					<tr class="{cycle values="data_table_row_1,data_table_row_2"}">
						<td><a href="javascript: opener.movie_view({$m.id});" target="_parent">{$m.title}</a></td>
						<td><a href="index.php?what=list&do=remove&id={$m.id}" title="Remove this movie from your custom list.">X</a></td>
					</tr>
				{/foreach}
			{else}
				<tr>
					<td colspan="2">No movies in your list</a>
				</tr>
			{/if}
			<tr>
				<td colspan="2"><a href="index.php?what=list&do=clear">Clear List</a></td>
			</tr>
			<tr>
				<td colspan="2">
					<!-- Mark As Borrowed | -->
					<a href="javascript: add_collection(opener.gId('frm_browse'));">Add to collection</a>
					<a href="javascript: add_wishlist(opener.gId('frm_browse'));">Add to wishlist</a>
				</td>
			</tr>
		</table>
		</div>
	</body>
</form>
</html>